package cn.broadsense.thrid.param;

import cn.broadsense.thrid.result.FtsListResult;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author pengxin
 * @date 2022-10-11 15:42
 */
@NoArgsConstructor
@Data
public class FtsListParam extends BasePageParam {
    private static final long serialVersionUID = 2779967061030368381L;



    /**
     * 查询条件
     */
    private FtsTotalsParam condition = new FtsTotalsParam();
    /**
     * 排序
     */
    private List<OrderParam> order;


    @Override
    public void checkParam() {

    }

    @Override
    public Class getResultClass() {
        return FtsListResult.class;
    }

    @NoArgsConstructor
    @Data
    public static class OrderParam {
        private String orderBy;
        private String order;
    }
}
